package com.example.freeengine.filetranslate.persistence.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.freeengine.filetranslate.persistence.dao.FileTranslateDownloadFileDao;
import com.example.freeengine.filetranslate.persistence.dao.FileTranslateProgressDao;
import com.example.freeengine.filetranslate.persistence.entity.FileTranslateDownloadFile;
import com.example.freeengine.filetranslate.persistence.entity.FileTranslateProgress;


@Database(entities = {FileTranslateProgress.class, FileTranslateDownloadFile.class}, version = 1, exportSchema = false)
public abstract class FileTranslateDatabase extends RoomDatabase {

    /**
     * 获取dao
     * @return FileTranslateProgressDao
     */
    public abstract FileTranslateProgressDao fileTranslateProgressDao();

    public abstract FileTranslateDownloadFileDao fileTranslateDownloadFileDao();

}
